Status Bar & System Overlays
Controls the visibility of the status bar and the non-transient system overlays (such as the Home indicator) for a page — useful for building immersive, full-screen experiences.
Type
Important
For these to take effect:
-
Apply them to the page's root view — for example the
NavigationStack, not an inner child. A navigation container intercepts the preference, so applying it to a nested view does nothing. -
Present the page full screen. In a sheet presentation the status bar and system overlays are owned by the presenting page, so the preference is ignored:
Notes:
persistentSystemOverlays="visible"is the default state, so it produces no observable change. Use"hidden"to see an effect.- iOS never removes the Home indicator permanently —
"hidden"only dims and auto-hides it; it reappears on interaction.
Example
You can also apply them as chainable modifiers:
